package com.xuecheng.api.content.model.vo;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 课程审核VO对象
 */
@Data
public class CourseAuditVO {

    @NotNull(message = "课程ID不可以为空")
    private Long courseBaseId;

    @NotBlank(message = "课程审核状态不可以为空")
    private String auditStatus;

    @NotBlank(message = "课程审核意见不可以为空")
    @Length(min = 5, max = 200, message = "审核意见信息长度要在5-200个字符之间")
    private String auditMind;

}
